package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

/**
 * @author wei
 */
@ApiModel(value = "维修清单视图对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RepairFormVO {

    @ApiModelProperty(name = "rfNo",notes = "维修单号",required = true)
    private String rfNo;

    @ApiModelProperty(name = "rfBusinessTime",notes = "业务日期",required = true)
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp rfBusinessTime;

    @ApiModelProperty(name = "rfProcessor",notes = "处理人",required = true)
    private String rfProcessor;

    @ApiModelProperty(name = "rfRepairSpend",notes = "维修花费",required = true)
    private BigDecimal rfRepairSpend;

    @ApiModelProperty(name = "rfReportRepair",notes = "报修人",required = true)
    private String rfReportRepair;

    @ApiModelProperty(name = "rfRepairDetails",notes = "维修内容",required = true)
    private String rfRepairDetails;

    @ApiModelProperty(name = "rfRemark",notes = "备注",required = true)
    private String rfRemark;

    @ApiModelProperty(name = "rfImage",notes = "照片",required = true)
    private String rfImage;

    @ApiModelProperty(name = "assetsList",notes = "资产id list")
    private List<AssetsVO> assetsList;
}
